/*var login = new Login();*/
window.onload = function () {
    if (top != window)  top.location.href = window.location.href;
};
/*function Login() {
    this.loginMethod = function () {
        SubmitForm("login");
    };
    this.onLoginSuccess = function (result) {
        window.location.href ="index.do";
    };

}*/

function loginMethod() {
  SubmitForm("login");
}

function onLoginSuccess() {
   window.location.href ="index.do";
}